import * as Router from 'koa-router'

import userRouter from './routers/user.router'
import booksRouter from './routers/books.router'
import dingdansRouter from './routers/dingdans.router'
import remarksRouter from './routers/remarks.router'
import adminRouter from './routers/admin.router'
import fileRouter from './routers/file.router'

const router = new Router()
router.use(userRouter.routes())
router.use(booksRouter.routes())
router.use(dingdansRouter.routes())
router.use(remarksRouter.routes())
router.use(fileRouter.routes())
router.use(adminRouter.routes())

export default router
